package com.luchao.springcloudconsumerdept81;

import com.luchao.springcloudconsumerdept81.config.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@EnableEurekaClient
@SpringBootApplication
@RibbonClient(name = "SPRINGCLOUD-PROVIDER-DEPT", configuration = MySelfRule.class)
public class SpringcloudConsumerDeptRibbon81Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringcloudConsumerDeptRibbon81Application.class, args);
    }

}
